<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch" action="{:U($Think.ACTION_NAME)}" method="post">
        <input type="hidden" name="pageSize" value="{$Think.session.pageSize}">
        <input type="hidden" name="pageCurrent" value="{$Think.session.pageCurrent}">
        <input type="hidden" name="orderField" value="{$Think.session.orderField}">
        <input type="hidden" name="orderDirection" value="{$Think.session.orderDirection}">
        <div class="bjui-searchBar">
            <label>发布时间：</label><input type="text" name="search[atime]" readonly="readonly" value="{$search.atime}" class="form-control" size="12" data-toggle="datepicker" />
            <label>标题：</label><input type="text" name="search[title]" value="{$search.title}" class="form-control" />
            <button type="submit" class="btn-default" data-icon="search">查询</button>
            <div class="pull-right">
                <a href="{:U('add')}" data-toggle="dialog" data-width="1000" data-height="600" data-id="dialog-mask" data-mask="true" class="btn btn-default" data-icon="plus">新增数据</a>
                <a href="{:U('replist')}" class="btn btn-default" data-toggle="navtab" data-id="vedio-all-replist" data-reload-warn="本页已有打开的内容，确定将刷新本页内容，是否继续？" data-title="视频评论列表" title="点击查看视频评论列表" data-icon="reply">评论列表</a>
                <div class="btn-group">
                    <button type="button" class="btn-default dropdown-toggle" data-toggle="dropdown" data-icon="copy">批量操作<span class="caret"></span></button>
                    <ul class="dropdown-menu right" role="menu">
                        <li><a href="{:U('del')}" data-toggle="doajaxchecked" data-confirm-msg="确定要删除选中项吗？" data-idname="ids" data-group="ids"><i class="fa fa-times"></i> 删除数据</a></li>
                        <!--<li><a href="{:U('allchange')}" data-toggle="doajaxchecked" data-confirm-msg="确定要删除选中项吗？" data-idname="ids" data-group="ids"><i class="fa fa-picture-o"></i> 生成截图</a></li>
                        <li><a href="{:U('allchange')}" data-toggle="doajaxchecked" data-confirm-msg="确定要删除选中项吗？" data-idname="ids" data-group="ids"><i class="fa fa-retweet"></i> 转换视频</a></li>-->
                    </ul>
                </div>
            </div>
        </div>
    </form>
</div>

<div class="bjui-pageContent">
    <!-- 内容区 -->
    <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
        <thead>
        <tr>
            <th width="2%">ID</th>
            <th width="15%">标题</th>
            <th width="28">类型</th>
            <th width="28">倒彩</th>
            <th width="28">点赞</th>
            <th width="30">评论</th>
            <th width="5%">作者</th>
            <th width="100">发布IP</th>
            <th width="120">发布时间</th>
            <th width="28">状态</th>
            <th width="28">转换</th>
            <th width="28">截图</th>
            <th width="20"><input type="checkbox" class="checkboxCtrl" data-group="ids" data-toggle="icheck"></th>
            <th width="160">操作</th>
        </tr>
        </thead>
        <volist name="list" id="vo">
            <tr>
                <td>{$vo.id}</td>
                <td>{$vo.title}</td>
                <td><if condition="$vo[type]==1">直播<else />名师</if></td>
                <td>{$vo.recommend_sub}</td>
                <td>{$vo.recommend_add}</td>
                <td>{$vo.repcount}</td>
                <td>{$vo.author}</td>
                <td>{$vo.addrip}</td>
                <td>{$vo.atime|date="Y-m-d H:i:s",###}</td>
                <td><if condition="$vo[status]">通过<else />待定</if></td>
                <td><if condition="$vo[transform]==2">已转<elseif condition="$vo[transform]==1"/>处理中<else />待转</if></td>
                <td><if condition="$vo[thumb]==2">已转<elseif condition="$vo[thumb]==1"/>处理中<else />待转</if></td>
                <td><input type="checkbox" name="ids" data-toggle="icheck" value="<?= $vo[id]?>"></td>
                <td>
                    <a href="{:U('edit?id=' . $vo[id])}" data-icon="pencil-square-o" class="btn btn-green" data-toggle="navtab" data-id="vedio-edit-form" data-reload-warn="本页已有打开的内容，确定将刷新本页内容，是否继续？" data-title="编辑-{$vo.title}-视频" title="编辑-{$vo.title}-视频"></a>
                    <a href="{:U('replist?id='.$vo[id])}" class="btn btn-default" data-toggle="navtab" data-id="vedio-replist" data-reload-warn="本页已有打开的内容，确定将刷新本页内容，是否继续？" data-title="{$vo.title}-评论列表" title="点击查看-{$vo.title}-评论列表" data-icon="reply"></a>
                    <a href="{:U('change?id=' . $vo[id])}" data-icon="retweet" title="视频转换" class="btn btn-default" data-toggle="doajax"></a>
                    <a href="{:U('printscreen?id=' . $vo[id])}" data-icon="picture-o" title="视频截图" class="btn btn-default" data-toggle="doajax"></a>
                    <a href="{:U('info?id=' . $vo[id])}" data-icon="info" data-toggle="navtab" data-id="vedio-info-form" data-reload-warn="本页已有打开的内容，确定将刷新本页内容，是否继续？" data-title="查看-{$vo.title}-视频" title="查看-{$vo.title}-视频" class="btn btn-default" data-toggle="doajax"></a>
                    <a href="{:U('del?id=' . $vo[id])}" data-icon="times" title="删除内容" class="btn btn-red" data-toggle="doajax" data-confirm-msg="确定要删除选中项吗？"></a>
                </td>
            </tr>
        </volist>
    </table>
</div>

<include file="./App/Common/View/Common/pageFooter.html" />